// pages/login/index.js
Page({
  handleGrtUserInfo(e){
    const {userInfo} = e.detail;
    wx.setStorageSync('userinfo', userInfo)
    wx.navigateBack({
      delta: 1,
    })
  }
})